ScssPhp\ScssPhp\Node\Number C

Total Complexity 111
Dependencies 7
Dependents 3
Total lines 765
Lines of code 345
Logical lines of code 196
Comment lines 247
Methods 36
Properties 5

Methods 36

Method Rating Maintainability Complexity Lines of code
valueInUnits()
A
43 14 52
equals()
A
56 8 18
multiplyUnits()
S
51 7 29
offsetExists()
S
58 7 17
offsetGet()
S
58 7 16
output()
S
54 6 21
getUnitString()
S
60 5 12
getConversionFactor()
S
63 5 11
modulo()
S
59 4 15
dividedBy()
S
59 4 14
assertSameUnitOrUnitless()
S
61 4 13
isComparableTo()
S
63 4 11
__construct()
S
62 4 11
hasUnit()
S
76 3 3
assertUnit()
S
70 2 6
assertNoUnits()
S
70 2 6
coerceUnits()
S
63 2 10
coerceNumber()
S
67 2 7
unitless()
S
77 2 3
unitStr()
S
71 2 6
valueInRange()
S
67 2 7
greaterThanOrEqual()
S
73 1 5
plus()
S
73 1 5
minus()
S
73 1 5
unaryMinus()
S
78 1 3
greaterThan()
S
74 1 5
times()
S
77 1 3
getDimension()
S
82 1 3
lessThan()
S
73 1 5
offsetUnset()
S
80 1 3
__toString()
S
81 1 3
coerce()
S
78 1 3
offsetSet()
S
80 1 3
getDenominatorUnits()
S
82 1 3
getNumeratorUnits()
S
82 1 3
lessThanOrEqual()
S
73 1 5